﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<InfoTech.Mvc.LanTranh.MucVu.Models.SOTATHEModel>" %>
<%@ Import Namespace="InfoTech.LanTranh.MucVu.Service" %>
<div class="<%=ViewData["ruatoi"] %>">
    <% 
        using (Html.BeginForm())
        {%>
    <%:Html.ValidationSummary()%>
    <%:Html.HiddenFor(c=>c.MAGIAODAN) %>
    <%:Html.HiddenFor(c=>c.MASOTATHE) %>
    <table cellspacing="3" cellpadding="3">
        <tr>
            <td align="right" class="cellTitle" valign="middle">
                Ngày
            </td>
            <td>
                <div class="editor-field">
                    <table cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <div class="editor-field">
                                    <%: Html.DropDownListFor(model => model.NGAY,GIAODANService.Get_List_Days(), new { style = "width: 140px", @class="text-input" })%>
                                    <%: Html.ValidationMessageFor(model => model.NGAY, "(*)")%>
                                </div>
                            </td>
                            <td>
                                <div class="editor-field">
                                    <%: Html.DropDownListFor(model => model.THANG,GIAODANService.Get_List_Months(), new { style = "width: 145px", @class="text-input" })%>
                                    <%: Html.ValidationMessageFor(model => model.THANG, "(*)")%>
                                </div>
                            </td>
                            <td>
                                <div class="editor-field">
                                    <%: Html.DropDownListFor(model => model.NAM,GIAODANService.Get_List_Years(), new { style = "width: 135px", @class="text-input" })%>
                                    <%: Html.ValidationMessageFor(model => model.NAM, "(*)")%>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
        <tr>
            <td align="right" class="cellTitle" valign="middle">
                Tại
            </td>
            <td>
                <div class="editor-field">
                    <%: Html.TextBoxFor(model => model.TAI, new { style = "width: 420px", @class="text-input" })%>
                    <%: Html.ValidationMessageFor(model => model.TAI, "(*)")%>
                </div>
            </td>
        </tr>
        <tr>
            <td align="right" class="cellTitle" valign="middle">
                An Táng Tại
            </td>
            <td>
                <div class="editor-field">
                    <%: Html.TextBoxFor(model => model.DIADIEMANTANG, new { style = "width: 420px", @class = "text-input" })%>
                    <%: Html.ValidationMessageFor(model => model.DIADIEMANTANG, "(*)")%>
                </div>
            </td>
        </tr>
        <tr>
            <td align="right" class="cellTitle" valign="middle">
                Ghi Chú
            </td>
            <td>
                <div class="editor-field">
                    <%: Html.TextAreaFor(model => model.GHICHU,5,50, new { style = "width: 420px;overflow:auto;", @class="text-input" })%>
                    <%: Html.ValidationMessageFor(model => model.GHICHU, "(*)")%>
                </div>
            </td>
        </tr>
        <tr>
            <td class="lineRow" colspan="2">
            </td>
        </tr>
        <tr>
            <td align="right" class="cellTitle" valign="middle">
                Hủy Thông Tin
                <%:Html.CheckBoxFor(c=>c.Delete) %>
            </td>
            <td>
                <input type="submit" value="Cập nhật" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" />
            </td>
        </tr>
    </table>
    <%
        }%>
</div>
